﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Warehouse.Domian.Model
{
    /// <summary>
    /// 移库和调拨信息表
    /// </summary>
    [SugarTable("Shifting")]
    public class Shifting : BaseEntity
    {
        /// <summary>
        /// 移库单号
        /// </summary>
        public string TransferId { get; set; }
        /// <summary>
        /// 移库类型
        /// </summary>
        public int STId { get; set; }
        /// <summary>
        /// 移库管理信息表
        /// </summary>
        public string AssociatedOrderNumber { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string PreparedName { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime PreparedTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Bacth { get; set; }
        /// <summary>
        /// 商品单价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 移库和调拨数量
        /// </summary>
        public int IncomingQuantity { get; set; }
        /// <summary>
        /// 当前库位Id
        /// </summary>
        public int CurrentstorageId { get; set; }
        /// <summary>
        ///单价
        /// </summary>
        public decimal Totalprice { get; set; }
        /// <summary>
        /// 移库的Id
        /// </summary>
        public  int CurrentstorageshiftId  { get; set; }
        /// <summary>
        ///  /// <summary>
        /// 用来判断是移库还是调拨
        /// </summary>
        /// </summary>
        public int State { get; set; }
    }
}
